<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>密码错误</title>
</head>
<body>
<script>
alert("测试失败错误");
window.history.back(-1);//返回上一页
/*confirm("是否想游览ziksang博客园") //把确认框赋值给answer
if(answer) //判断是否点击确定
window.location ="http://www.cnblogs.com/Ziksang/" //确定的话游览器自身跳转
}
}
/*confirm("密码错误");//confirm的确定键能添加事件，alter的不能
	if (r==true){
		//window.location.href="login.html";
		//document.location.href="login.html";
		 //window.history.go(); //返回上一页
		 window.location ="http://baidu.com" 
	}
	else{
		window.history(-2);
	}*/
</script>
</body>
</html>